﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DMS.Web.Modules.SystemManagement.Organization
{
    public partial class RoleListFrame : System.Web.UI.Page
    {
        private string _RoleTreeTitle = string.Empty;

        protected void Page_Load(object sender, EventArgs e)
        {
            this.GetParams();

            if (!string.IsNullOrEmpty(this._RoleTreeTitle))
            {
                this.RoleTree1.RootNodeText = this._RoleTreeTitle;
            }
        }

        private void GetParams()
        {
            if (!string.IsNullOrEmpty(Request["Title"]))
            {
                this._RoleTreeTitle = Request["Title"].ToString();
            }
        }
    }
}